package demo3.impl;

import demo3.UserService;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Override
    public String login(String name, String pass) {
        System.out.println("login 登录。。。");
        int a=1/0;
        return "登录成功";
    }

    @Override
    public void logout() {
        System.out.println("拜拜");
    }
}
